package com.wg.dome.entity.config;


import com.wg.db.annotation.EntityField;
import com.wg.db.annotation.EntityTable;
import com.wg.db.schema.AccessLevel;

import java.io.Serializable;

/**
 * 装备精炼
 */
@EntityTable(tableName = "static_equip_jinglian",accessLevel = AccessLevel.ReadOnly)
public class EquipJingLianEntity implements Serializable {

    @EntityField(isKey = true)
    private short level;

    /**
     * 武器属性
     */
    @EntityField(fieldName = "weapon_value")
    private int weaponValue;

    /**
     * 衣服属性
     */
    @EntityField(fieldName = "clothes_value")
    private int clothesValue;

    /**
     * 戒指属性
     */
    @EntityField(fieldName = "ring_value")
    private int ringValue;

    /**
     * 鞋属性
     */
    @EntityField(fieldName = "shoe_value")
    private int shoeValue;

    /**
     * 消耗游戏币
     */
    @EntityField(fieldName = "use_gold")
    private long useGold;

    /**
     * 消耗道具Id
     */
    @EntityField(fieldName = "use_item_id")
    private int useItemId;

    /**
     * 消耗道具数量
     */
    @EntityField(fieldName = "use_item_count")
    private int useItemCount;

    public short getLevel() {
        return level;
    }

    public void setLevel(short level) {
        this.level = level;
    }

    public int getWeaponValue() {
        return weaponValue;
    }

    public void setWeaponValue(int weaponValue) {
        this.weaponValue = weaponValue;
    }

    public int getClothesValue() {
        return clothesValue;
    }

    public void setClothesValue(int clothesValue) {
        this.clothesValue = clothesValue;
    }

    public int getRingValue() {
        return ringValue;
    }

    public void setRingValue(int ringValue) {
        this.ringValue = ringValue;
    }

    public int getShoeValue() {
        return shoeValue;
    }

    public void setShoeValue(int shoeValue) {
        this.shoeValue = shoeValue;
    }

    public long getUseGold() {
        return useGold;
    }

    public void setUseGold(long useGold) {
        this.useGold = useGold;
    }

    public int getUseItemId() {
        return useItemId;
    }

    public void setUseItemId(int useItemId) {
        this.useItemId = useItemId;
    }

    public int getUseItemCount() {
        return useItemCount;
    }

    public void setUseItemCount(int useItemCount) {
        this.useItemCount = useItemCount;
    }
}
